package com.shimao.celnet.payment.service;

import com.shimao.celnet.payment.model.PInvoiceRed;
import com.shimao.celnet.payment.model.PInvoiceRedDetail;

import java.util.List;
import java.util.Map;

public interface PInvoiceRedService extends IService<PInvoiceRed>{
    /**
     *新增保存
     * @return
     */
    int save(PInvoiceRed sBean, List<PInvoiceRedDetail> pInvoiceRedDetailList);
    /**
     * 通过开票guid，查询红票记录以及红票记录明细
     * create by stan.ruan on 2018-01-04
     */
   Map<String,Object> getInfo(String invoiceGuid);
}
